import { getMapFromOption } from '@/utils/common'

export const channelOptions = [
    {
        label: '线下',
        value: 0
    },
    {
        label: '线上',
        value: 1
    },
    {
        label: '其他',
        value: 2
    }
]

export const channelMaps = getMapFromOption(channelOptions)

export const productTypeOptions = [
    {
        label: '蔬菜类',
        value: 0
    },
    {
        label: '水果类',
        value: 1
    },
    {
        label: '畜牧类',
        value: 2
    },
    {
        label: '渔类',
        value: 3
    },
    {
        label: '其他类',
        value: 4
    }
]

export const productTypeMaps = getMapFromOption(productTypeOptions)
